package com.tj.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tj.pojo.ShoppingCart;
import com.tj.service.ShoppingCartService;
import com.tj.mapper.ShoppingCartMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author t
* @description 针对表【shopping_cart(购物车)】的数据库操作Service实现
* @createDate 2023-04-25 21:48:54
*/
@Service
public class ShoppingCartServiceImpl implements ShoppingCartService{
    @Autowired
    ShoppingCartMapper shoppingCartMapper;

    @Override
    public List<ShoppingCart> getAll() {
        return shoppingCartMapper.getAll();
    }
}




